package org.jeecg.modules.function.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 业务功能表配置
 * @Author: jeecg-boot
 * @Date:   2021-06-09
 * @Version: V1.0
 */
@Data
@TableName("sys_func_base")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="sys_func_base对象", description="业务功能表配置")
public class SysFuncBase implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
	/**功能编号*/
	@Excel(name = "功能编号", width = 15)
    @ApiModelProperty(value = "功能编号")
    private String funcCode;
	/**功能名称*/
	@Excel(name = "功能名称", width = 15)
    @ApiModelProperty(value = "功能名称")
    private String funcName;
	/**功能组件（前端）*/
	@Excel(name = "功能组件（前端）", width = 15)
    @ApiModelProperty(value = "功能组件（前端）")
    private String funcComp;
	/**需要提交校验*/
	@Excel(name = "需要提交校验", width = 15, dicCode = "need_vaild")
	@Dict(dicCode = "need_vaild")
    @ApiModelProperty(value = "需要提交校验")
    private String needVaild;
	/**所属功能组*/
	@Excel(name = "所属功能组", width = 15, dictTable = "sys_func_group", dicText = "func_group_name", dicCode = "func_group_code")
	@Dict(dictTable = "sys_func_group", dicText = "func_group_name", dicCode = "func_group_code")
    @ApiModelProperty(value = "所属功能组")
    private String funcGroup;
	/**在功能组中的排序*/
	@Excel(name = "在功能组中的排序", width = 15)
    @ApiModelProperty(value = "在功能组中的排序")
    private Integer funcGroupOrder;
}
